import React, { Component } from 'react'

 class All extends Component {
constructor(props, context) {
    super(props, context)
    console.log("conc")
    this.state={
        index:0
    }

}
componentDidMount(){

}
componentDidUpdate(prevProps,prevState){
}
    render() {
        let id = this.props.location.state.home_id

        console.log(id)
        return (
            <div>
                {id === 1&& <div>1</div>}
                {id === 2&& <div>2</div>}
                {id === 3&& <div>3</div>}
                
            </div>
        )
    }
}
export default All
